<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理员注册</title>
<style type="text/css">
	#center{ 
	position:absolute; 
	top:50%; left:40%; 
	margin-top:-100px; 
	margin-left:-150px;  
	    width:600px;  
	    height:200px;   
	 }
body{
background-image:url(../image/05.jpg);
}
  </style> 
</head>
<body>
<div align="center" style="background-color:#87ceff" id="center">
<form action="/ssh/adminRegister.action" method="post" name="form2">
   <fieldset style="width:500px">
        <legend>管理员注册</legend>
		<table>
			<tr style="height:50px">
				<td>用户名:</td>
				<td><input type="text" name="admin.name"></td>
				<td style="color:red;"><s:fielderror fieldName="admin.name"/></td>
			</tr>
    		<tr style="height:50px">
				<td>密码：</td>
				<td><input type="password" name="admin.password"></td>
				<td style="color:red;"><s:fielderror fieldName="admin.password"/></td>
			</tr>
			<tr>
				<td><input type="submit" value="注册"></td>
				<td><input type="reset" value="取消"></td>
				<td></td>
			</tr>
		</table>
		</fieldset>
	</form>
	</div>
</body>
</html>